package com.sharp.authorization.bo.permit;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.sharp.authorization.dao.common.entity.AcPermit;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import java.util.Date;

/**
 * Title: PermitInfo
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2021/8/25 11:14
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class PermitInfo extends AcPermit {

    /**
     * 创建时间
     */
    @JsonIgnore
    @Column(name = "create_at")
    @ApiModelProperty(value = "创建时间")
    private Date createAt;

    /**
     * 修改时间
     */
    @JsonIgnore
    @Column(name = "update_at")
    @ApiModelProperty(value = "修改时间")
    private Date updateAt;

    /**
     * 有效性
     */
    @JsonIgnore
    @Column(name = "`valid`")
    @ApiModelProperty(value = "有效性")
    private String valid;

}
